<?php //pack11class

class ObjectCardPrice extends Module {

    public $traceEnabled=true;

    public function setup() {
        $currency=Template::html(new ObjectCardCurrency);
        $object=$this->param;
        if(get_class($object)!="DekaroObject") return false;
        $cost=explode(" ",$object->getMoney(false));
        $result="<div class='PriceText'>".$cost[0]."</div>".$currency."";
        $this->setBody($result);
    }

}
?>
